package com.topevery.yllhdemo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
@TableName(value="t_book")
public class Book {

    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    private String name;
    @TableField(value="publishDate")
    private LocalDateTime publishDate;
    private  boolean sex;
    private Integer totalPage;

}
